// 同页面子组件
function Son(props: { name: string }) {
  console.log(props);
  return <div>this is son,{props.name}</div>;
}

// 同页面父组件

const ComponentConnectFsDemo = () => {
  return (
    <>
      <Son name="this is father"></Son>
    </>
  );
};

export default ComponentConnectFsDemo;
